import request from '@/utils/request'

// 查询
export function selectSecurityById(empId) {
  return request({
    url: '/system/security/' + empId,
    method: 'get'
  })
}
export function updateSalary(itoSalaryForm) {
  return request({
    url: '/system/security/',
    method: 'post',
    data: itoSalaryForm
  })
}
export function selectById(empId) {
  return request({
    url: '/system/security/selectById/' + empId,
    method: 'get'
  })
}
export function updateSecurity(itoSecurityFrom) {
  return request({
    url: '/system/security/updateSecurity/',
    method: 'post',
    data: itoSecurityFrom
  })
}
